﻿using Shop.Model.DB;
using Shop.Model.Shop;

namespace Shop.Collect
{
    public interface IShopCollect
    {
        long Add (ShopAdd add);

        DBShop Get (long id);

        Result Get<Result> (long id) where Result : class;

        long GetByCompanyId (long companyId);

        bool Set (DBShop shop, ShopSet set);
    }
}